package FourArithmeticOperations;

import junit.framework.TestCase;

import java.util.AbstractSequentialList;

/**
 * Created by dell on 2017/9/26.
 */
public class AyyaylistTest extends TestCase {
    Ayyaylist mm = new Ayyaylist();
    public void testIsEmpty() throws Exception {
        mm.isEmpty();
        assertEquals(true,mm.isEmpty());
    }

    public void testAdd() throws Exception {
        assertEquals(true,mm.add("cai"));
    }

    public void testRemove() throws Exception {
        mm.add("cai");
        mm.add("wang");
        mm.remove("cai");
        assertEquals(true,mm.remove("cai"));
    }


}
